package net.huashitong.ssydt.provider.common.api;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2018.02.05
 */
@Api(value = "/api/common/", tags = {"公共模块"})
@Controller
@RequestMapping("/api/common")
public class ApiWebPageCommonController {


    @GetMapping("/page/year-score/{userId}")
    public String getShareArticlePage(@PathVariable String userId, Model model) {
        model.addAttribute("userId", userId);
        return "api/common/page/year-score";
    }

}
